Function |insert
json/value::|insert
Usage
|insert(object, key, value)
Parameters
↳ object: Json (json::Json)
↳ key: string
↳ value: Json (json::Json)
Return
↴ Json
Return object with key set to value, replacing the value it had.
If object is not a JSON object, it is returned unchanged.